package com.opesoft.utils;

import java.lang.reflect.ParameterizedType;

import org.apache.log4j.Logger;

public class SuperA<T>
{
	Logger log=Logger.getLogger(this.getClass());
	
	public void test1()
	{
		Class entityClass=(Class)((ParameterizedType)getClass().getGenericSuperclass()).getActualTypeArguments()[0];
		log.debug(entityClass);
	}
}
